﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Basic;
using Ewell.Interface.Common.Model.GateWay.Dto.Gaia;
using System;
using System.Collections.Generic;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class ConfigMemberDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.basic.service.inter.dubbo.ConfigMemberDubboService";
        public GateWayMethod memberConfigSelectInit => new MemberConfigSelectInit(url);
    }

    public class MemberConfigSelectInit : GateWayMethod
    {
        public MemberConfigSelectInit(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryPatientInfoByExample";

        public override string paramClass => "cc.ewell.his.gaia.upon.req.PatientInfoReq";

        public override DubboParamType paramType => DubboParamType.messageheaderDoamin;

        public override Type requestParamType => typeof(MemberConfigSelectInitRequest);

        public override Type responseParamType => typeof(List<ConfigMemberResponse>);
    }
}
